package com.ruoyi.system.domain.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "数据包信息")
public class DataPackageInfo {

    @Schema(description = "数据包名", example = "com.example.weather")
    private String bundleName;

    @Schema(description = "开发商", example = "Huawei")
    private String vendor;

    @Schema(description = "版本编号", example = "1.2.0")
    private String versionCodeNum;

    @Schema(description = "版本号", example = "120")
    private String versionCode;

    @Schema(description = "适用设备类型", example = "[\"phone\", \"tablet\"]")
    private List<String> deviceTypes;

    @Schema(description = "文件大小", example = "500MB")
    private Double fileSize;

    @Schema(description = "MD5  hash", example = "jijojoijoijbgygt")
    private String packageHash;


    @Schema(description = "包存储路径")
    private String packageUrl;
}
